package Day14;

public class Texxt {
    public static void main(String[] args) {
        Manner m1 = new Manner(001,"下完",245.7,345);
        System.out.println(m1.getId()+","+ m1.getName()+
                ", "+ m1.getSalary()+ "," + m1.getMannerSaalary());
        m1.work();
        m1.eat();

        Chirs c1 = new Chirs();
        c1.setId(002);
        c1.setName("夏雨");
        c1.setSalary(345.8);
        System.out.println(c1.getId()+","+ c1.getName()+ ", "+ c1.getSalary());
        c1.work();
        c1.eat();



    }
}
